<h1>Site Administration</h1>
<div id="admin_forms">
    <?php
    foreach ($this->forms as $title => $form) {
        $title = ucwords(str_replace('_', ' ', $title));
        $this->tabPane('admin_tabs',
                $this->digUiBlock($form),
                array('title' => $title));
    }

    echo $this->tabContainer('admin_tabs', array('id' => 'admin_forms_inteface'));
    ?>
</div>

<?php $this->jQuery()->onLoadCaptureStart(); ?>
var jsonFormOptions = {
dataType: 'json',
beforeSubmit: function()
{
$.dig.ui.disable();
},
success: function(data)
{
    $.dig.ui.enable();
    $.dig.ui.message.add(data.message, data.type);
}
}

$('#admin_tabs form').ajaxForm(jsonFormOptions);
<?php $this->jQuery()->onLoadCaptureEnd(); ?>